Initializes a new instance of the DataBoundSeries class.
Namespace: MindFusion.Charting
File: DataBoundSeries.js
SyntaxJavaScript
Copy Code
|
|---|
function DataBoundSeries (dataSource) |
Type: any | Array
A reference to the data source object.
RemarksIn most cases you would set the dataSource property of a chart control. DataBoundSeries are created automatically according to the contents of the provided dataSource.
ExampleThe following code creates a DataBoundSeries instance from an array:
JavaScript
Copy Code
|
|---|
var data = [13, 13, 14, 16, 23, 44]; var series = new Charting.DataBoundSeries(data); |
See Also